import json


def load_config():
    with open("config.json", encoding='utf8', mode='r') as file:
        config = json.load(file)
    return config


def save_config(config):
    with open("config.json", encoding='utf8', mode='w') as _file:
        json.dump(config, _file)